package com.ssy.lingxi.member.merchant.repository;

import com.ssy.lingxi.member.merchant.entity.MemberRectifyOuterHistoryDO;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 会员整改外部流转历史记录Repository
 * @author yzc
 * @version 2.0.0
 * @date 2021/5/17
 */
@Repository
public interface MemberRectifyOuterHistoryRepository extends JpaRepository<MemberRectifyOuterHistoryDO, Long>, JpaSpecificationExecutor<MemberRectifyOuterHistoryDO> {

    List<MemberRectifyOuterHistoryDO> findByRectifyId(Long rectifyId, Sort sort);

}
